package com.intellagric.service.traceability.trace_record;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.module.traceability.RecordMachiningVo;
import com.intellagric.pojo.TraceRecordSale;
import com.intellagric.pojo.TraceRecordTransport;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2019/1/12
 * @DESC： 销售记录服务接口
 */
public interface SalerecordService {

    //增加运输物流记录
    ResponseMessage addSalerecord(TraceRecordSale recordSale);

    //删除运输物流记录
    ResponseMessage deleteISalerecord(String id);

    //修改运输物流记录
    ResponseMessage editSalerecord(TraceRecordSale recordSale);

    //查询运输物流记录
    TraceRecordSale getSalerecordById(String id);
    LayuiDataGridResult getSalerecordList();
    LayuiDataGridResult getSalerecordPage(int page, int rows);
    LayuiDataGridResult getSalerecordPageByVo(int page, int rows, RecordMachiningVo recordMachiningVo);
}
